
public class CollisionDetector {
	Player player;
	EnemyManager enemyManager;
	public CollisionDetector(Player _player , EnemyManager _enemyManager)
	{
		player = _player;
		enemyManager = _enemyManager;
	}
	
	public void detecting()
	{
		for ( int i = 0 ; i < player.getMissileList().size() ; i ++ )
		{
			player.getMissileList().get(i).findCollision(enemyManager.getEnemyList());
		}
	}
}
